 var formPanel = Ext.create('Ext.form.Panel', {
		   id: 'form-panel-1', 
		    frame: true,
		    title: 'Alta de productos',
		    width: 340,
		    bodyPadding: 5,

		    fieldDefaults: {
		        labelAlign: 'left',
		        labelWidth: 90,
		        anchor: '100%'
		    },

		    items: [{
		        xtype: 'textfield',
		        name: 'textfield1',
		        fieldLabel: 'Text field',
		        value: 'Text field value'
		    }, {
		        xtype: 'textfield',
		        name: 'password1',
		        inputType: 'password',
		        fieldLabel: 'Password field'
		    }, {
		        xtype: 'filefield',
		        name: 'file1',
		        fieldLabel: 'File upload'
		    }, {
		        xtype: 'textareafield',
		        name: 'textarea1',
		        fieldLabel: 'TextArea',
		        value: 'Textarea value'
		    } 
		    ]
		});
	 
	 var formPanel2 = Ext.create('Ext.form.Panel', {
		   id: 'form-panel-2', 
		    frame: true,
		    title: 'Baja de productos',
		    width: 340,
		    bodyPadding: 5,

		    fieldDefaults: {
		        labelAlign: 'left',
		        labelWidth: 90,
		        anchor: '100%'
		    },

		    items: [{
		        xtype: 'textfield',
		        name: 'textid',
		        fieldLabel: 'ID producto',
		        value: 'Introduza el ID del producto'
		    }, {
		        xtype: 'textfield',
		        name: 'password1',
		        inputType: 'password',
		        fieldLabel: 'Password field'
		    }, {
		        xtype: 'filefield',
		        name: 'file1',
		        fieldLabel: 'File upload'
		    }, {
		        xtype: 'textareafield',
		        name: 'textarea1',
		        fieldLabel: 'TextArea',
		        value: 'Textarea value'
		    } 
		    ]
		});
	    